package com.growthserver.service;

import com.growthserver.entity.IntegralBudgetEntity;
import com.growthserver.enums.ResultBeans;
import com.growthserver.entity.TTaskAssignEntity;
import com.growthserver.entity.UserInfoEntity;
import com.growthserver.param.GrowthParam;
import com.growthserver.param.IntegralBudgetParam;
import com.growthserver.vo.IntegralBudgetVo;
import com.growthserver.vo.TTaskAssignVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.List;

public interface GrowthCenterService {
    /**
     * 发放积分成长值列表展示
     */
    List<TTaskAssignEntity> detailQuery(GrowthParam growthParam);
    /**
     * 批量,单独发放 发放
     */
    ResultBeans<Object> batchSingleSendSendSend(TTaskAssignVo tTaskAssignVo, MultipartFile file);

    List<HashMap<String,String>> queryMemberIds(GrowthParam growthParam);

    void deleteById(GrowthParam growthParam);

    /**
     *  portal用户明细表查询
     * @param growthParam
     */
    List<UserInfoEntity> getUserInfo(GrowthParam growthParam);

    /**
     *
     * @param growthParam
     */
    List<HashMap<String,String>> taskTypeEnum(GrowthParam growthParam);


    /**
     * 预算积分申请列表展示
     * @param integralBudgetParams
     * @return
     */
    List<IntegralBudgetEntity> integralBudgetDisplay(IntegralBudgetParam integralBudgetParams);

    /**
     * 预算积分申请
     * @param integralBudgetVo
     */
    void integralBudgetCreate(IntegralBudgetVo integralBudgetVo);

    /**
     * 积分预算申请审核
     */
    void integralBudgetAudit(IntegralBudgetEntity integralBudgetEntity);

    /**
     * 积分预算Excel导入
     * @param userId
     * @param userName
     * @param file
     */
    ResultBeans<Object> integralBudgetExcel(String userId, String userName, MultipartFile file);


}
